import actions from './actions.js'
import getters from './getters.js'

//全局的状态
  import {
	UPDATE_DIRECTION
} from './mutation-types.js'
  


//全局常量
const state = {
    isFirstPage: false,     //当前页是否为首页
    direction:'',						//页面跳转方向    
}

//全局mutions
const mutations = {
  [UPDATE_DIRECTION](state ,data){
		state.direction = data;		
	},    
}


export {actions ,mutations ,state ,getters}